# -*- coding: utf-8 -*-
# @Time : 2021/2/3 17:20
# @Author : shx
# @Email : 925126486@qq.com
# @File : marketing_page.py
# @Project : test
from pages.base_page import BasePage
from selenium.webdriver.common.by import By

class MarkPage(BasePage):
    """定义营销页面"""
    url_ = 'http://192.168.1.49/crm3/index.php?m=setting&a=sendsms'
    set_locator = (By.LINK_TEXT, '设置')

    def get_current_url(self):
        return self.driver.current_url

    def point_set(self):
        """点击短信设置"""
        self.find_element(self.set_locator).click()

